package com.zyk.scaffold.oauth.config.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

@Data
@Component
@RefreshScope
@ConfigurationProperties(prefix = "local.oauth-server", ignoreUnknownFields = false)
public class LocalOauthServerProperties {
    /**
     * scaffold 静默登录 client ID
     */
    private String scaffoldWebClientId;

    /**
     * 集团IDaaS jwt登录 pubKey
     */
    private String ssoJwtPublicKey;

    /**
     * 集团IDaaS jwt登录 clientId
     */
    private String ssoJwtClientId;

    /**
     * 集团IDaaS jwt登录 地址
     */
    private String ssoJwtAddress;

    /**
     * 集团IDaaS 登录成功  web回调地址
     */
    private String ssoSuccessAddress;

    private KeyPoolProperties keyPool = new KeyPoolProperties();

}
